home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / ppc-amigaos / include / powerup / ppcinline / amipx.h < prev    next >
C/C++ Source or Header  |  2000-02-28  |  2KB  |  43 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _PPCINLINE_AMIPX_LIBRARY_H
  4. #define _PPCINLINE_AMIPX_LIBRARY_H
  5.  
  6. #ifndef __PPCINLINE_MACROS_H
  7. #include <powerup/ppcinline/macros.h>
  8. #endif /* !__PPCINLINE_MACROS_H */
  9.  
  10. #ifndef AMIPX_LIBRARY_BASE_NAME
  11. #define AMIPX_LIBRARY_BASE_NAME AMIPX_Library
  12. #endif /* !AMIPX_LIBRARY_BASE_NAME */
  13.  
  14. #define AMIPX_CloseSocket(socknum) \
  15.     LP1NR(0x24, AMIPX_CloseSocket, UWORD, socknum, d0, \
  16.     , AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  17.  
  18. #define AMIPX_GetLocalAddr(addrspace) \
  19.     LP1NR(0x36, AMIPX_GetLocalAddr, UBYTE, addrspace, a0, \
  20.     , AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  21.  
  22. #define AMIPX_GetLocalTarget(address, localtarget) \
  23.     LP2(0x42, WORD, AMIPX_GetLocalTarget, UBYTE, address, a0, UBYTE, localtarget, a1, \
  24.     , AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  25.  
  26. #define AMIPX_ListenForPacket(ecb) \
  27.     LP1(0x2a, WORD, AMIPX_ListenForPacket, struct AMIPX_ECB *, ecb, a0, \
  28.     , AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  29.  
  30. #define AMIPX_OpenSocket(socknum) \
  31.     LP1(0x1e, WORD, AMIPX_OpenSocket, UWORD, socknum, d0, \
  32.     , AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  33.  
  34. #define AMIPX_RelinquishControl() \
  35.     LP0NR(0x3c, AMIPX_RelinquishControl, \
  36.     , AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  37.  
  38. #define AMIPX_SendPacket(ecb) \
  39.     LP1(0x30, WORD, AMIPX_SendPacket, struct AMIPX_ECB *, ecb, a0, \
  40.     , AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  41.  
  42. #endif /* !_PPCINLINE_AMIPX_LIBRARY_H */
  43.